/*
 * DataType.h
 *
 *  Created on: Feb 8, 2010
 *      Author: diqiu
 */

#ifndef DATATYPE_H_
#define DATATYPE_H_


#endif /* DATATYPE_H_ */

#include "include.h"

typedef struct {
	int emulatedMouse;    // Which emulated mouse this packet is from
	int xPos;             // x position of mouse
	int yPos;             // y position of mouse
}Packet;

typedef struct {
	int head;						// Index of head of the queue
	int tail;						// Index of tail of the queue
	Packet queue[PACKETQUEUE_SIZE];	// Queue storage
}PacketQueue;
